<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.util.Calendar" %>
    <!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
<title>Thêm mới nhóm sản phẩm</title>
<jsp:include page="Quanly.jsp"></jsp:include>	
<td id="col_right">	
<h2>Thống kê sản phẩm bán chạy</h2>		 		
	<form action="Chitietdoanhthuthang.jsp" method="post" id="thongke">
      <table class="TableUpdate" border="1">
        <tbody>
            <tr>
	            <td class="Control" colspan="2">
	                <ul>
	                </ul>
	            </td>
	        </tr>
            <tr>
                <th>Chọn Tháng:</th>
                <td>
                    <select id="thang" name="thang">
                    <%
                    	for(int i=1;i<13;i++)
                    	{
                    	
                    %>
                    
                    			<option value="<%=i%>"><%=i %></option>
                   <%
                    	}
                   %>
                    </select>
                </td>
            </tr>
           <tr>
                <th>Chọn Năm:</th>
                <td>
                    <select id="nam" name="nam">
                   <%
                    	Calendar cal=Calendar.getInstance();
                    	int nam=cal.get(1);
                    	for(int i=nam;i>1999;i--)
                    	{
                    	
                    %>
                    
                    			<option value="<%=i%>"><%=i %></option>
                   <%
                    	}
                   %>
                    </select>
                </td>
            </tr>
            <tr>
            <td class="Control" colspan="3">
                <ul>
                <input type="submit" name="Thongke" value="Xem thống kê" class="button">
	             <input type="reset" name="lamlai" value="Làm lại" class="button">
            	</ul>
            </td>
            </tr>
             </tbody>
          </table>
          </form>
  <script type="text/javascript">
            function Get(idname) { if (document.getElementById) { return document.getElementById(idname); } else if (document.all) { return document.all[idname]; } else if (document.layers) { return document.layers[idname]; } else { return null; } } function toggleXPMenu(block) { var CloseImage = "imagesAdmin/closed.gif"; var OpenImage = "imagesAdmin/open.gif"; var divid = block; var img = "img" + block; if (Get(divid).style.display == "") { Get(divid).style.display = "none"; Get(img).src = OpenImage; return false; } else { Get(divid).style.display = ""; Get(img).src = CloseImage; return false; } }
</script>
</body>
</html>